package com.yc.chaoshi.cs_manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.chaoshi.cs_manage.DTO.OrderDTO;
import com.yc.chaoshi.entity.OmsOrder;
import com.yc.chaoshi.entity.PmsGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {

    List<OrderDTO> listAll(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize,
                           @Param("sreachname") String sreachname, @Param("orderstatus") Integer orderstatus);

    List<PmsGoods> listGoods(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize,
                             @Param("sreachname") String sreachname, @Param("orderid") Integer orderid);
}
